package oa.hleast.xswl.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import oa.hleast.common.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * sys_common_config 系统通用配置表
 *
 * @author 302
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sys_common_config")
public class SysCommonConfig extends BaseEntity {
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 配置项key
     */
    private String configKey;

    /**
     * 配置项值
     */
    private String value;

    /**
     * 备注
     */
    private String remark;

    @ApiModelProperty("逻辑删除标识 0-未删除 1-已删除")
    @TableLogic(value = "0", delval = "1")
    private Boolean deleted;
}